<template>
  <div id="app">
    <h1>{{'test'}}</h1>
    <router-view></router-view>
  </div>
</template>
<script>
  const userSettingNav = {
    template: '<div><router-link to="/setting/emails">emails</router-link><router-link to="/setting/profile">profile</router-link></div>'
  }
  const userSetting = {
    template: '<div><h2>User setting</h2></div>'
  }

  const router = new VueRouter({
    mode: 'history',
    routes: [
      {
        path: '/settings',
        component: userSetting,
      }
    ]
  })
</script>